var path=require("path");
// console.log(__filename);
// console.log(__dirname);

var platform=process.platform;

switch(platform){
    case "win32" :
        let filePath=path.join(__dirname,"\\view\\index.html");
        console.log("windows:"+filePath);
        break;
    case "linux" :
        let filepath=path.join(__dirname,"/view/index.html");
        console.log("linux:"+filepath);
        break;
    default:
        console.log("unknow platform");
}
